package com.vhall.component.entity.sign.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 签到详情查询请求VO
 *
 * @author shenghua.luo
 */
@Data
public class SignGetInfoReqVO implements Serializable {

    /**
     * 应用appId
     */
    @ParamName("app_id")
    @NotBlank(message = "应用appId不能为空")
    @Length(max = 32)
    private String appId;

    /**
     * 来源ID
     */
    @ParamName("room_id")
    @NotBlank(message = "来源ID不能为空")
    @Length(max = 255)
    private String roomId;

    /**
     * 签到id
     */
    @ParamName("sign_id")
    @NotNull(message = "参数异常")
    @Range(min = 1, max = 10000000)
    private Long signId;


}
